package com.lfy.chat.domain.msg;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;
/**
 * 离线消息事件
 *
 * @author <a href="https://www.lvfeiy.top">吕飞扬</a>
 * @date 2023/10/24 20:21
 */
@Getter
public class UnOlineEventMsg extends ApplicationEvent {

    private final String to;
    private final String from;
    private final String text;

    public UnOlineEventMsg(Object source, String to, String from, String text) {
        super(source);
        this.from = from;
        this.text = text;
        this.to = to;
    }
}
